From c4f3d2b90059c0bf876d38331e1c233e56a2ead5 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Wed, 23 Apr 2008 07:49:47 +0000 Subject: [PATCH] exif: Fix lat_ref/lon_ref handling. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3206 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/exif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/exif.c b/gpsbabel/exif.c index 4f2bd7814..9496a943d 100644 --- a/gpsbabel/exif.c +++ b/gpsbabel/exif.c @@ -319,7 +319,7 @@ exif_read_tags(const int ifd) } if (lat_ref == 'S') wpt->latitude *= -1; - else + else if (lat_ref != 'N') warning(MYNAME ": GPSLatitudeRef not set! Using N(orth).\n"); if (lon_ref == 'W') wpt->longitude *= -1; else if (lon_ref != 'E') warning(MYNAME ": GPSLongitudeRef not set! Using E(east).\n"); -- 2.30.2